#pragma once

#include <fstream>
#include <iostream>
#include <string>
#include <vector>

#include "Network.h"

using namespace std;


#define LINE_LENGTH 100000

class Data
{
public:
	vector<vector<double>> dataset;
	int attributeNum;
	double* max;
	double* min;
	Data(string path);
	Data(vector<vector<double>> datasetNew);
	void normalize();
	void normalize(double* min, double* max);
	 double calMisRecord(Network& network);
	~Data(void);

};
